<%--
  Created by IntelliJ IDEA.
  User: taohj
  Date: 2014/6/29
  Time: 18:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>

<!Doctype html>
<html>
<head>
    <base href="<%=basePath%>">
    <title>政府数据开放平台</title>
    <jsp:include page="../commons/include.jsp"/>

    <style>
        tr td:first-child {
            text-align: right;
        }

        tr td:last-child {
            text-align: left;
            padding-left: 10px;
        }

        td {
            line-height: 30px;
        }
    </style>
</head>
<body>
<jsp:include page="../commons/top.jsp"/>

<div class="main" style="min-height: 500px">


    <div style="width: 600px;margin: 0 auto 0 auto; height: 200px; padding-left:100px; ">

        <form method="post" action="/front/user/login">
            <table style="margin-top: 120px; border: 1px solid #aaaaaa;width: 400px;padding: 0;margin-left: 0;" align="center">
                <tr>
                    <td colspan="2" style="text-align: center;font-size: 16px; font-weight: bold;">登 录</td>
                </tr>
                <tr>
                    <td>用户名：</td>
                    <td><input type="text" name="username"></td>
                </tr>
                <tr>
                    <td>密 码：</td>
                    <td><input type="password" name="password"></td>
                </tr>

                <tr>
                    <td>验证码：</td>
                    <td>
                        <table>
                            <tr>
                                <td><input type="text" name="validateNumber" style="width: 60px;min-width: 60px;"></td>
                                <td><img src="/ValidateNumberImage" style="margin-top: 6px;"></td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align: center;">
                        <div class="ui-state-highlight ui-corner-all" style="margin-top: 20px; "> ${requestScope.loginMsg}</div>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center" height="60" style="text-align: center">
                        <input type="submit" style="" value="登  录">
                    </td>
                </tr>


            </table>

        </form>
    </div>

</div>
<jsp:include page="../commons/buttom.jsp"/>
</body>
</html>
